28 July 2024
Files can be in one of four states:
Files can be in one of four states:
Files can be in one of four states:
Files can be in one of four states:
This is a once off action (per machine)
Or within R (via the usethis package)
OR via the gert package
Create a file (text, code etc)
Otherwise, create any kind of file (in the folder we just created)
Stage the changes (add)
For example:
Examples
.RData all files ending in .RData.pdf all files ending in .pdfdata/ the entire folder called data[main (root-commit) 4572048] Initial commit
1 file changed, 3 insertions(+)
create mode 100644 analysis.R
../resources/git-tikz --git-dir ~/tmp/Test_repo/.git --filename 10_pres_git_Test_repo1.tex
ls -la
cp 10_pres_git_Test_repo1.log ../docs
#mv 10_pres_git_Test_repo1.pdf resources/10_pres_git_Test_repo1.pdf
xdvipdfmx:fatal: Invalid font: -1 (0)
No output PDF file written.
total 9544
drwxr-xr-x 6 runner docker 4096 Jul 28 08:54 .
drwxr-xr-x 9 runner docker 4096 Jul 28 08:54 ..
-rw-r--r-- 1 runner docker 9539405 Jul 28 08:54 01_introduction.html
-rw-r--r-- 1 runner docker 8475 Jul 27 22:17 01_introduction.qmd
drwxr-xr-x 3 runner docker 4096 Jul 28 08:54 01_introduction_cache
-rw-r--r-- 1 runner docker 52823 Jul 28 04:33 10_pres_git.qmd
-rw-r--r-- 1 runner docker 52953 Jul 28 08:54 10_pres_git.rmarkdown
-rw-r--r-- 1 runner docker 32 Jul 28 08:54 10_pres_git_Test_repo1.aux
-rw-r--r-- 1 runner docker 28536 Jul 28 08:54 10_pres_git_Test_repo1.log
-rw-r--r-- 1 runner docker 15 Jul 28 08:54 10_pres_git_Test_repo1.pdf
-rw-r--r-- 1 runner docker 1435 Jul 28 08:54 10_pres_git_Test_repo1.tex
drwxr-xr-x 3 runner docker 4096 Jul 28 08:54 10_pres_git_cache
drwxr-xr-x 3 runner docker 4096 Jul 28 08:54 10_pres_git_files
-rw-r--r-- 1 runner docker 1396 Jul 27 04:36 Makefile
-rw-r--r-- 1 runner docker 660 Jul 28 08:54 git-draw.dot
-rw-r--r-- 1 runner docker 203 Jul 27 22:17 pres-style.css
drwxr-xr-x 2 runner docker 4096 Jul 28 08:54 resources
-rw-r--r-- 1 runner docker 33657 Jul 28 08:54 tikz2e305511f537.log